home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / SAMPLES / ATMOS / FOG / FOGFAC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-11  |  759 b   |  31 lines

  1. // Copyright (c)1995 Ray Dream, Inc. All Rights Reserved.
  2. /*$Id: FogFac.h 1.1 1996/07/18 23:43:07 Damien Exp $*/
  3.  
  4. #ifndef __FOGFACT__
  5. #define __FOGFACT__  
  6.  
  7. #ifndef __I3DEX__
  8. #include "I3DEx.h"
  9. #endif
  10.                   
  11. // Atmos Class Factory :
  12. class AtmosClassFactory : public IClassFactory {
  13. public:
  14.   AtmosClassFactory(void);
  15.   ~AtmosClassFactory(void);
  16.  
  17.   //IUnknown members
  18.   STDMETHODIMP         QueryInterface(REFIID, LPVOID FAR*);
  19.   STDMETHODIMP_(ULONG) AddRef(void);
  20.   STDMETHODIMP_(ULONG) Release(void);
  21.  
  22.   //IClassFactory members
  23.   STDMETHODIMP         CreateInstance(LPUNKNOWN, REFIID, LPVOID FAR*);
  24.   STDMETHODIMP         LockServer(BOOL);
  25. protected:
  26.   ULONG           m_cRef;
  27.   };                         
  28.  
  29. #endif
  30.  
  31.